corrected a problem with includes in api_post