fixed masking issue pointed out by Dom :)