fix error syntax
error and warning color
fix exports for client side
fix method already declared between client and server