minor bug solving