bugs fixed. custom error handlers. api keys out