fix to moulding not working