Made a little error resulting in Null Exception.