missing basename checks