added guard to prevent picputting a piclib into itself