correct pk_kwd
check if function is available before firing it
version
gemfile