alerts on empy inputs