added the type parser for int to pg addon