Added error messages to slice form