Fixed null value on Credentials