Solving idiotic error