make kwargs in ptimed decorator really optional