Consertando nullPointerException.