fixes for apply form