added cgi exit error -> 500 server internal error