Bug with api-paste