fixed bug in pdf
made draw mstars and mhalos work