fixed check for development