removed a unnecessary cast, fixed an indentation issue