fix standard compatible problems