Clean up minor code issue with paste plugin