stupid bug fixing