ok to rename getLastError to bplasterror ?