Fixed minor 500 server error bug!