fixed explicitly setting intensity values