fixed p function
extended aliases