Removed random character from if statement.