fixed malloc again =)