moved error into its own partial