prevent nil
make functions consistant