fixes for appfog