I cant find whats wrong in code so my output is wrong