add error hendler for create new slider