Bug fix Bram